package org.erepublik.company.comparators;

import java.util.Comparator;

import org.erepublik.company.CountryData;

public class CountryDataComparatorByOnline implements Comparator<CountryData> {

    @Override
    public int compare(CountryData o1, CountryData o2) {
        return o2.getOnline()-o1.getOnline();
    }

}
